]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix position/size changed disconnects
authorAdel Gadllah <adel.gadllah@gmail.com>
Sat, 15 Feb 2014 12:05:46 +0000 (13:05 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Sat, 15 Feb 2014 12:07:14 +0000 (13:07 +0100)
Commit 3f7a989d38e changed the signals to match mutter api changes,
but did not update disconnects, so do that.

js/ui/workspace.js
js/ui/workspaceThumbnail.js

index 1d319e8ad5f2987e331fb0f27be3849a0406caae..a4b0c25993e08cc642b2eebc55cbff98a92f1c5d 100644 (file)
@@ -295,7 +295,7 @@ const WindowClone = new Lang.Class({
             else
                 realWindow = child.source;
 
-            realWindow.disconnect(child._updateId);
+            realWindow.meta_window.disconnect(child._updateId);
             realWindow.disconnect(child._destroyId);
         }));
     },
index 3e71e9c65233d936fbf20a99bcf14cc672920656..7b7bc908ee8bf98a9263494e39792fa60b867362 100644 (file)
@@ -176,7 +176,7 @@ const WindowClone = new Lang.Class({
         this.actor.get_children().forEach(function(child) {
             let realWindow = child.source;
 
-            realWindow.disconnect(child._updateId);
+            realWindow.meta_window.disconnect(child._updateId);
             realWindow.disconnect(child._destroyId);
         });
     },